home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / bash / bash_110 / mint / bash110s.zoo / bash-1.10 / builtins / diffs.MiNT < prev    next >
Encoding:
Text File  |  1991-11-09  |  1.1 KB  |  39 lines

  1. diff -c ../orig/builtins/common.c builtins/common.c
  2. *** ../orig/builtins/common.c    Sat Nov  9 16:38:22 1991
  3. --- builtins/common.c    Sat Nov  9 16:37:16 1991
  4. ***************
  5. *** 443,448 ****
  6. --- 443,461 ----
  7.     int code, jump_to_top_level = 0;
  8.     char *orig_string = string;
  9.   
  10. + #ifdef MiNT
  11. +   /*
  12. +    * Poor, brain-dead Messy-DOS encouraged poor, brain-dead TOS to use
  13. +    * \r's at end-of-lines. What were Atari thinking of when they put
  14. +    * something other than Eunuchs in the ST?
  15. +    */
  16. +   do
  17. +     if (*string == '\r')
  18. +       *string = ' ';
  19. +   while (*string++);
  20. +   string = orig_string;
  21. + #endif
  22.     /* Unwind protect this invocation of parse_and_execute (). */
  23.     begin_unwind_frame ("parse_and_execute_top");
  24.       unwind_protect_int (parse_and_execute_level);
  25. diff -c ../orig/builtins/times.def builtins/times.def
  26. *** ../orig/builtins/times.def    Sat Nov  9 16:38:24 1991
  27. --- builtins/times.def    Sat Nov  9 16:38:06 1991
  28. ***************
  29. *** 29,34 ****
  30. --- 29,35 ----
  31.   $END
  32.   
  33.   #include "../shell.h"
  34. + #include <stdio.h>
  35.   #include <sys/types.h>
  36.   #if defined (HAVE_RESOURCE) && !defined (hpux) && !defined (USGr4)
  37.   #include <sys/time.h>
  38.